import Vue from 'vue'
import App from './App.vue'
import router from '@/router'
import axios from 'axios'

Vue.config.productionTip = false
//把axios挂在vue的原型上
Vue.prototype.$axios = axios

new Vue({
  router,//把路由实例关联到vue 实例
  render: h => h(App),
}).$mount('#app')
